package com.xiaolei.xlibrary

import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.xiaolei.library.Base.BaseActivity
import com.xiaolei.libraryktx.setViewBinding
import com.xiaolei.xlibrary.databinding.ActivityMainBinding

class MainActivity : BaseActivity()
{
    private lateinit var recycler_view: RecyclerView
    override fun onCreate(savedInstanceState: Bundle?)
    {
        setContentView(R.layout.activity_main)
        recycler_view = setViewBinding(ActivityMainBinding::class).recyclerView
        super.onCreate(savedInstanceState)
    }

    override fun initData(savedInstanceState: Bundle?)
    {
    }

    override fun initView()
    {
        recycler_view.layoutManager = LinearLayoutManager(this, RecyclerView.VERTICAL, false)
    }

    override fun initEvent()
    {
    }

    override fun loadData()
    {
        
    }
}